package pro.lingwu.station.dao;

import org.apache.ibatis.annotations.Mapper;
import pro.lingwu.station.dto.db.Passenger;

import java.util.List;

/**
 * @author @lingwu
 * @date created in 12/26/2021
 */
@Mapper
public interface PassengerMapper {

    void addPassenger(Passenger passenger);

    List<Passenger> findPassengerByAccount(String account);

    void rmPassenger(Long id);

}
